<template>
  <div class="list">
    <div class="item" v-for="i in 22"></div>
    <i v-for="i in 6"></i>
  </div>
</template>

<script lang="ts" setup></script>
<style lang="scss" scoped>
.list {
  width: 80vw;
  max-height: 800px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border: 1px solid red;
  overflow-x: hidden;
  overflow-y: auto;
  
  .item {
    min-width: 190px;
    max-width: 240px;
    height: 156px;
    background: #cc7979;
    border-radius: 14px 14px 14px 14px;
    margin-right: 10px;
    margin-top: 15px;
  }
  i {
    min-width: 190px;
    max-width: 240px;
    width:calc(100% / 7) ;
    background: #cc7979;
    border-radius: 14px 14px 14px 14px;
    margin-right: 10px;
  }
}
</style>
